package com.example.egmybatis2.mapper;

import com.example.egmybatis2.poji.entity.Product;
import com.example.egmybatis2.poji.entity.vo.ProductMapperVo1;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;


@Mapper
public interface ProductMapper {

    int insertProductMapper(Product product);

    Product selectProductMapper(Long id);

    List<ProductMapperVo1> selectProductMapperVo1();

    int deleteProductMapper(Long id);

    int updateProductMapper(Product product);

}
